package com.example.sys.module.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.core.po.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "模块信息")
@TableName(value = "sys_module")
public class SysModule extends BasePo<SysModule> {

    @ApiModelProperty(value = "service类")
    @TableField(value = "service")
    private String service;

    @ApiModelProperty(value = "mapper类")
    @TableField(value = "dao")
    private String dao;

    @ApiModelProperty(value = "po类")
    @TableField(value = "po")
    private String po;

    @ApiModelProperty(value = "vo类")
    @TableField(value = "vo")
    private String vo;

    @ApiModelProperty(value = "权限模块")
    @TableField(value = "is_auth")
    private boolean isAuth;

    @ApiModelProperty(value = "角色前缀")
    @TableField(value = "base_role")
    private String baseRole;

    @ApiModelProperty(value = "默认角色")
    @TableField(value = "default_role")
    private String defaultRole;

    @ApiModelProperty(value = "查看角色")
    @TableField(value = "view_role")
    private String viewRole;

    @ApiModelProperty(value = "新增角色")
    @TableField(value = "add_role")
    private String addRole;

    @ApiModelProperty(value = "编辑角色")
    @TableField(value = "edit_role")
    private String editRole;

    @ApiModelProperty(value = "删除角色")
    @TableField(value = "del_role")
    private String delRole;
}
